Removed extraneous evaluations of TreeEntity.parent.