query priority option was being ignored