Excluding shared tasks from caldav calendar clients

Hello,

Tasks on lists that are shared with me by other nextcloud users show up on my caldav calendar apps, despite the fact that the lists are “task-only” lists. They are not visible in my nextcloud calendar when I deselect the “show tasks in calendar” option in the settings, but they still show up on any external calendar clients that I have configured with nextcloud.

I’d like to exclude the shared tasks from my caldav calendar clients. Is there a way to do so? Thank you!