Fixed bug that caused app crashing for non-existent queues.
TODO list.