Recomputation of average rating is wrong: it performs an integer division leading to results that are rounded to the closest integer.