Added nextRow in QueryResult