Fix card remaining calculation

Caused by mistaken refactor