CLOUDIFY-2222 fix validation