Handle nil errors return by fmdb API