Fix similar classNames removal