Validating work type names (fixes #14)