Fixes issue with unpriveleged users being able to circumvent the ratings they could see, just by searching for it. Also makes code much much prettier.