Map: Fixed a few bugs with the insert ops.