Which is why you really do not want to go all in preflop with any cards. I have seen AA get beat and KK get beat by many hands that should not have even been played. But when you have players going allin preflop, and they do it consistantly, they always end up getting called by some mid pair or suited connector hands... and you end up losing.
Best way to avoid the situation is to avoid allin preflop.
Unless your the short stack in a tournament and you are trying to buy some pots or need to take a chance to double up. There are certain times when you will go allin preflop and for good reasons. I have done it myself, but only when I felt it was absolutley neccessary.