Wow you butchered it.
Make a man sized raise preflop. If its a lose table you want to one guy with Ax to call you and bust on an A high flop.
You say you thought both of your opponents hit the flush. If that was the case then there are only 5 hearts left in the deck.
So you are taking about 2:1 (at best. The other guy might not even call) on a about a 4:1 shot. Thats a pretty disgusting call.