Better error description in Scores.__setitem__
Prevent empty segments