Fixed static analysis issues (transformations) (#3276)