Linux nextcloud agent doesn't pick up changes to groupfolder

I have set up a group folder. When I cp some files into it and then run “sudo -u www-data php /var/www/nextcloud/occ groupfolders:scan 1” (1 is the id of the groupfolder). The android client picks up on the changes, but the linux client does not. I cannot test if the same happens with the windows client as I do not have that.

When I exclude the groupfolder in the agent and then include it again, it will pick up on the changes.

Is this a bug or a feature?