Bugfix fatal error in ProcessConsent