Query engine: Fixed pagination for Oracle