Fixed a bug in MapInfo

Where saving was impossible after an attempt to save was made with an
invalid MapID in the MapID box.