Corrected an error on special cases of "else if" when we substitute for instrumentation