Fix #405

Don't just swap (or keep) indexes when merging cores, actually merge events from old to new. Performance implications unknown.