Fix infinite loops. Put card2 BEFORE card1