Fix up syntax and logic for rating filter