Recalculate priorities when a new job is sent to the queue