Added special handling for 'ord' and 'chr' as well as returning correct
values for true/false/null