Added a isEmpty() check to fix empty values validation #3283 bugfix

#3283 bugfix