AQ - query results pagination fix