Hide card contents from DOM

After failed match card text is now removed from the DOM.
The previous fix for this had a bug, which is now resolved.