You should really be using the constants in these two validations.