Fix #27 and Fix #28: Better rating refresh method.