refactored ChangeFrequency validator