LinkService: Work around invalid UNIQUE constraint

This fixes #392 for the stable branch.
!543 takes care of removing the constraint in the development branch
10 jobs for !544 with workaround_multiple_tracks_external_files in 5 minutes and 18 seconds (queued for 16 seconds)
latest merge request