Adding the changes to make the Queries more consistent and work with HstoreDatabaseWrapper from django-hstore fork in Multmeio githubs org