Minor fix in set_makepos (better handling of empty event.duration fields).