Only add start/end if originNode is non-null