Minor updates to rating logic