I don't like that we're creating a query from the view. Can we move this into an instance variable set from the controller?