Fix lowestPriorityWriteGroup bug