Some bug fixes (to avoid KeyError when requiering a time point absent of a given segment)