Fix #27. Validate mash fields