Detect empty queues and don't send them