Fixed #1070 (Clear search index for deletedb and syncdb command)
Merge pull request #1071 from emanuelschuetze/fix-1070

Fixed #1070 (Clear search index for deletedb and syncdb command)