fixed crash when deleting deck without games (#445)