Map patterns not working with munion, fixes #340