Fixed a bug where no rating would cause a crash.