[Bug 41914] New: incorrect execute path within nested if (else) statement