Fixed a stupid problem with adding instructions to the queue.