Fixes slight issue with prioirty queue to meet assignment.