Having 2 pairs on the table together isn't that rare. Its a weird science and I'll try to explain it.
of getting dealt a PP from a random deck are just over 5% (we'll call it that for ease of understanding). So if you get dealt a pair, you've hit a 20/1 chance. Nice, chances are you're miles ahead right? Wrong!
The odds are the same for every individual at the table, so if you have a PP, the odds of another player having a PP are actually strong.
9 other players with a 5% chance each, means there is at LEAST a 45% chance of there being another PP at the table.
Doesn't sound right, but trust me.
As for the 7's.... Nice move in late position, unlucky to be up against an over-pair. Remember when you play these low-mid pairs post-flop though No set, No bet!