Fix the tuple mess with the right approach. The EXPR tuple should not be changed, only the content. Fix bug with typecasts. (NOTE: Debug code active) Fix bug where <= and >= were returning bool instead of int.