Honestly, if you're calling an ai after 2 have already gone ai and you aren't holding at least the nut draw then imho yes it was played wrong and you got lucky.
Having said that, I hope the guy that called the ai with a pair of 5's wasn't bitching at you.