small MapField bugfixes
Merge pull request #38 from laurentpayot/master

two small MapField bugfixes