Fixed a typing issue that could cause maps (or reduces) to be lost when one half of ComposeWith only implements one side.