Fixed an incredibly silly bug which was causing the queue to get
altered in an unpredictable fashion, simply because of references to
queue instead of !queueref.