Although an exclude pattern has been deleted from sync-exclude.lst both in user and program folder, Nexcloud desktop still says file is in exclude list

I am using Nexcloud desktop for Windows v35.0.0.
I deleted the pattern .~lock.* from both exclude lists - user appdata and program folder - but a file matching this pattern is still not synced and the desktop client says it is in the exclude list.
Are the exclude patterns stored somewhere else?