Fix an exception thrown when attempting to open the SqlOutputForm while scripting a guid