Fix matches

-Fix matches, fully tested, now using regex
-Add check to prevent object duplication in list
-Add dossier_niveau test
-Various typo fix