Check if dataRecord is a SiteTree to prevent errors