Fixed issue that could cause messages to get stuck in one queue or the other if both a send message and a console log message are added to their queues in quick succession