Audirvana 3.5 Database sync is corrupting

After many years of use I’m experimenting a big problem.
My library is on a Synology Nas with around 2550 albums

WHen i remove an album from the NAS it leaver some traks in the Audirvana database associated with other random files. Some albums start showing two times some tracks

I’ve tried everything but the problem remains, it grows every day

Every help is appreciated