Fixed rating logic

Previous rating logic would cause some tagging apps to crash; fixed.