Added additional verification of  value (when  is array)