Small bugfix: using IN_PROGRESS_QUEUE as comparison instead of
WORK_QUEUE result in 0 outcome always.