Fixed custom password validation for number