Fixed problem with dividing rates by 0 when there is no ratings