Fix syntax mistake resulting in spurious exceptions.