fixing how list of intervals in a root category is created