Make sure we don't create copy of the tree when there are no reject functions