Switch to string compare to see if that helps ios 6