Fix small bug in creating queues with multiple attributes