Fixed a bug in the queuer. SHould allow us to keep the queue clean.