Fixed broken validationChanged method