Allow iterating over empty query results