Fix wrong condition when building query for Keychain.
Update to version 0.2.2