fix bug in dbapi - search by tag
Merge pull request #487 from dlatnikov/JFG_721_Search_by_tag_fails

fix bug in dbapi - search by tag