Handle empty compositions

I had to fix an error in the report.

But now I am confident that the import will finish and report correctly.