Add check to verify that we have one and only one sample per year/polarity
As the analysis productions are run and re-run, we can have the same files processed several times, but only once per couple (version, name). When listing datasets, we should therefore make sure that we do not list files from different versions for the same polarity/year: if that happens we can raise an exception to alert the user.