fixed bug where a deck with no cards would break the /decks page as it could not find first card to get the image of.