Fix handling of default proc values in Mash