Bugfix when queued is in wanted states