Added validation to rating score