Fix a couple other corrupted var ternaries.