don't fail with exception if validating array with non array input