perform model tree id check, and that trees aren't null