Handle xml booleans correctly