Fixed error when adding a broadcast message to the queue