The code has failed in Card.js thanks to a faulty isEmpty implementation. Null case was not handled.
Closes DEICH-6380