Trying to limit spring arm rotation

I can’t seem to get this to work. I can still over rotate camera (spring arm pitch). Every thing seems to be in order. Any ideas?