fix to prevent vartrees from being checked for derivative methods
Merge pull request #1568 from naylor-b/ning_bug

fix to prevent vartrees from being checked for derivative methods