fix 0 was not considered as an existing value in the mandatory validator