Remove pointless setting of historyCard to null
Fix stupid history card logic mistake

(Don't write code when tired)