Fix ratings not showing up for directories