Run the deduplication routine in the IDEA addon, including the subpackages if desired (enable the check mark in the screen).