Fixed TypedExpr int encoding/decoding