Fix NPE with null cards
More protection against null cards in a group