Fixed a possible segfault in map_info.cc.