Fixes Issue #1

Allowed isPrimitiveTypeNum as well as iPTBool. The type after an error is still a bool, though.