[performance] Optimizer did not descend into general comparison inside if statement.