Made foldMapIR consistent with iFoldMap