Bug fixes for deploying queues