Fixed edit ticket page from having URL ending in "undefined"