Fix #17. Validate mash fields