fixed some missing calls to ResultSet.next().