Fixed bug where empty card crashed results.