Minor refactoring in NeoQeueryBuilder.
Follow up of SGE refactorings.