Minor fix of DB handler.