Fixing issue around character/boolean conversion introduced when trying to be compatible with 64-bit. -Jon