Fix for weird analysis dispatch for while, switch

While and switch conditions would just get caseExpr called.