[Bug 37478] New: cmd doesn't handle "else if" correctly in all cases