Fix broken where clauses
Merge branch 'master' of https://github.com/OpenBazaar/OpenBazaar