Fix bug where deck wasn't actually retrieved from the database, causing a nullPointerException