Fixed an issue when PostPersist what triggered after the flush of the first updateViolation