Fix the checking of the config for rewards