! Wrong replacements in the queue query as reported on SMF (arantor/nao)

Signed-off-by: Spuds <spuds@spudsdesign.com>