2 bugfixes in exporting data (multiple lines with the same sample and
errors with empty studies)