Make JobQueueAggregator::doNotifyQueueNonEmpty() avoid queries