Return priority to the query