SONAR-4366 Quality Gates: fix issue with updating conditions