I'm really struggling trying to find the correct bolt for this electrical box for a ceiling fan. After taking the old ceiling fan out, I found 2 mismatched bolts that the previous person had used. One looked like a 10-32 that had been stripped at the end and was bent and the other was some type of sheet metal screw. I wanted to replace both of them with the correct bolts but after multiple trips to the hardware store I'm out of luck and out of ideas, as are the people at the stores I've asked (well one person told me to replace the whole box but that seems drastic).
So far I've tried 8-32, 10-32, 10-24 and M5.80. The 10-24 seemed the closest but won't turn once I thread it into the 2nd hole. I've circled in red below the 2 holes the bolt has to pass through. They are aligned, just the angle I took the picture makes them look bent. House is in the USA and was built in 1999 if this information is of any help. Much appreciation if anyone can tell me what the type of bolt it is please.
Thanks.