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

(cherry picked from commit a6c1051609ce2bef5c59e0286d77d59c4ec5e8aa)
1.4.17F