Folding might be right here, but some of the decision depends on the size of the small stack....if the small stack is just a nuisance stack, like 1 or 2 bb, then calling is right, you won't get many opportunities better than this one to double against the big stack which is a real good goal to have here. But if losing to the shortie would cripple you, then it's a close decision because of the likelihood you are facing either a bigger pp, like you really were facing, or because you might be facing 3 overcards instead of the usual 2. Calling, like you did do, certainly wasn't a major mistake if it was a mistake at all.