Fix map destructuring for records.