The functions called by uppercase/lowercase validations were not correct.