I would pretty much play it the same way. Your preflop play is following the starting rules of PokerStrategy (call 20) exactly, so nothing wrong there.
You hit your set and get the money in, which is awesome, and on this limit villain will get his money pretty much the same way if he had: 2 hearts, 44, AK/AQ/AJ, A4, A7 and ofc AA.
Equilator gives you close to 90% equity against those hands. Even if you remove some that are more uncommon at that spot, you still get more than 80% equity.
Set over set happens, and there often is nothing you can do about it. Even the pros have hard time not going broke in such spots (middle set on a dry board), so don't blame yourself too much.. it just happens so let it go and continue playing. Eventually as your volume goes up you will get in the same spot, but this time on the other side

and recover your loss