Fix bug that break the whole thing when a serie was empty