AGOS: Modify setLoyaltyRating() on Kirben's suggestion