Fix to map field invalidation
Added map validation example