Fixed undefined variable in addTagsAccompanyingChangeWithChecks()