Fix mistake in NameTooLong handling.