update index_queryset function to haystack 2.0.0