Fixed the way rewards are initialized.