Fixes queue iteration not handling stray -1 that got created by item removal