Fixing opt-in check.