I played with my friends yesterday and run into the following situation:

player 1: **4 4**

player 2: **A 2**

table: **J J K K 2**

Both players have two pairs: **J J K K**.

However, player 1 have one pair in hand. Does that count? I think player 2 wins because of higher card in hand, but the rulebook I have is not clear about this.