Add a few missing cases in compileExpr and compileOp