don't break select statements that return 0 rows