Fixed an incorrect site invitation url from being generated when inviting a user on the site show page