Fixed logic in recursive addition of elements that are not versioned.