bool to boolean and int to integer

Curtesy of my Correct shell.