Fixed DivideByZeroException when Rating or Rating_Num is null.