I managed to fix this and make it not rattle. This is what I did:

I cut off the existing latch and welded on a bolt with a T handle. It still rattled so I had to screw in a piece of rubber that got compressed up against a stop. If someone would like more info on this let me know. I'll be happy to help you fix yours if need be.