Added alternate searching for non-mysql database's fixes #9