I think it's possible to avoid duplicates by using `IgnoredNode#ignore_node` and `IgnoredNode#part_of_ignored_node?`.