Ha! Found it!
The bug happened when you clicked a card, didn't use it, and on the next turn you clicked on a target without selecting a new card. The game remembered the card (it shouldn't), but the related data was erased when the new turn started.
Fixed now! Thanks again!