Fix bug in list_cards without a limit

I had forgotten to catch TypeErrors. Oops.
Merge pull request #4 from zachallaun/fix-list-cards

Fix bug in list_cards without a limit