I would've tried to develop a trick with the 5th heart. Your play of the AQ
deprived you of a couple of entries.
At trick 2, I'd lead the 3
and finesse with the J
If that wins, try the heart finesse. If not, I play over to the A
next time I get in and do the heart finesse. Play the A and a low
and eventually develop a trick with the 5th heart.
I could be wrong, but that seems to me more probable than playing for the squeeze (particularly, since as you pointed out, your opponents could've foiled the squeeze). So, how did you end up playing the hand after trick 3?