Prevents a null pointer that causes voting with cards to fail. acbragdon

Fixes card votes in the main branch.