Detect when queryset is redefined.