Updated deduplicate_bundles to use get_all_bundles, like other _bundles methods