correcting the hstore query