Using filters to get average rating