Added index to Queues.queue_name for query where clause