Sync files (only) is not excluding folders

I'm trying to use a filter to exclude folders from a Sync operation. The filter I'm using is..


The result is not what I expected to see.


Regards, AB