Fixing issue #115 search problem in dbtable mode