On update, check if object is include in index_queryset

and if not, then remove it.

This is useful when we are excluding some items, eg unpublished items.

This is the haystack 1.2.X version of #936.  Even if 1.2.X is no longer maintained, it means other people can find it if they need it.