Increased max target number from 999 to 1000. Fixed potential bug if manually specified card list did not have proper pairs.