Change cards order querying to close cursor.