Fixed set_concat and set_joinepos for the case of empty events.