Multilple Library entries for episodes

I’ve been having an issue for awhile now and I’ve tried many things to correct it but nothing seems to work.
The biggest problem is I’m not even sure where to start looking for the problem

I’m running 3 Rpi 2’s in my house all on OSMC RC3.
The library’s are shared via mysql running on one of the pi’s
My files are stored on a QNAP NAS and shared via NFS.

When an epsiode is downloaded (via Sonarr, and previously sickbeard, but same situation on both) and Kodi is told to add to the library it ads 6 library entries for the same episode and the same file.

I’ve rebuilt my mysql server and even moved it from a mac mini, to the has, and now to the pi with same results.

I’ve moved my downloaders also from my NAS to the mac mini, same results.

Can anyone suggest why this may be happening… or even a starting place to fix this?

Movies work fine, only one entry is added…

Thanks very much