Fix foldExprs function for Map instance