Repaired non-working validator.