DRYify reviewer queues code (bug 1046922)