set_default_ratings_for_all fixed, query needs to be checked, puzzle_model.php checked