Add validations to rating and prev_night_sleep