Fixed bug introduced by wrong nesting of the select statement that removes filter options with values =1, last statement wasnt hash which broke things in the view