Fixed a bug in validating enzyme name input value