Fixed get_query_set in super() call

Use `getattr` to check if `get_queryset` is supported