AQ: Oracle fixes for pagination of query result