Rework queueing system