Complex Interaction with CMS filtering system has a small bug I cant figure out

I have built a very complex menu system that filters CMS but randomly when I click on an option it will close the menu.


This is the menu. For example, click on different options in the Subject dropdown and every third click or so, the menu will close. I have tried just adding an interaction that opens the menu everytime one of those buttons is clicked but it still closes.

Here is the Read Only Link: https://preview.webflow.com/preview/aacademy?utm_medium=preview_link&utm_source=designer&utm_content=aacademy&preview=6baf16b55fa75fceec871b77a0736e10&pageId=610ebc68c2d9c4b65d9bde63&workflow=preview

Also a smaller thing:
image
Right this viewing # shows me the total CMS items but one I click a filter it doesnt update. If someone has a fix to that, that would also be great!

Thanks You!

Could you please share the published link (at least the staging link) so I can inspect the script working?

https://aacademy.webflow.io/about/teaching-staff

optimized for desktop only atm