make db init more resiliant,

this allows it not to fail if search[col] is not set.

Signed-off-by: Niv Sardi <xaiki@evilgiggle.com>
Merge pull request #28 from inaes-tic/xaiki/fix-db-init

Xaiki/fix db init