Fix type case of "validations" and word-wrap from #17954 [ci skip]