Debugged mutate_rating