Fixed ignore_root_cats mode