Files integration with nextcloud client is awesome whenever I make a folder favorite it displays in Files app. However, if I delete the folder from nextcloud app, without removing favorite, Files app keeps the deleted folder in favorites list, and If I click the folder, it opens the root directory. Evenif I resotre the file he behavior does not change. Any attempt to remove the favorite from the files app causes momentarily disappearence and the folder reappears. In order to remove the favorite from files app I needed to remove the nextcloud app.
Normally removing a folder from files app also removes the favorite from the nextcloud app.