CLOUDIFY-1353 fixed faulty validation