Fixed the hstore issue
Merge pull request #2 from ahelal/fix1

Fixed hstore issue - conditional