Grouping by projects options for lists filtered by context is lost sometimes

Sometimes it happens instantly, sometimes it needs more steps.
Please look at the animation below and see how to group by projects option is eventually lost.

The same strange changes happen when we switch between filters from the tags section.

That’s a weird issue. I’m failing to reproduce this so far

I have it all the time but the only way that I can reproduce it is what I did in the animation.