Added ratings filter functionality