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>