Changeset 1155

resolving issue #195, sample generation madness. This was partly caused by the intoduction of ParentEvent? and only happened in strange situations which normally should not happen in a serious study. But of course, it should never happen.