gets the correct queryset for userstats