Added handling for no cards returned.