Altered the way gem rewards are decided.