Stop bringing up the cards when there is no more card

Check for null before bringing up new cards