Added validation to rewards parasing.