Fix an exception thrown when attempting to create a script when the entryorguid textbox contains a non-numeric character