SONAR-5083 Fix bug with restoring RATING