Why when view first opened or Shft F9 is used, all categories are expanded?

Hi

I’ve got a view in a template which I’ve set to “collapse all when database is first opened” but the first time I open the view in a new database made from the template, all the categories are expanded. If I collapse them all and press Shf F9, same thing happens. Seems as thouugh when the view index is created Notes expands everything. Is there a fix for this as this was not how it’s supposed to work obviously and does not work like this when I use the template on 4.6x

Thanks