Update queue.lua

fix off by