Fix deserialization of boolean in filters

For example
```
query("UITextView isFirstResponder:1")
```
broke with iOS 8 boolean change in encodings. It was fixed in serialization (e.g. `query("UITextView", :isFirstResponder)`), but not with deserialization.