SC#QCADOOMES-1521 fix sequences of occurrences in the history of assignment to shifts