Context Menu is missing on some folders

For some reason the Nextcloud context menu is missing for certain folders, while still working for other sibling folders.

E.g: Right clicking on one folder:


And right clicking on a different folder right next to it:


The parent of both these folders also does not have the context menu.

Anyone know what’s causing this and how I can fix it? I need to enable “Always available locally” for some folders.