#137 'Applies to' is updated even if script fails validation