Fixes error in Rating update