Fix for django 1.6

Subtree_parents is no more a member of WhereNode