bug fix - guarded solution for edge case where no previous ratings exist.