Fixed segmention fault caused by unqlite wrapper.