Fix for SecuritySettings derp

I derped up this one pretty bad... Actually fixed this time + style fixes.