Added fixes in Constant folding for int64 types.