Fix redirection of view page if a draft overwrites a published registry object (old ID ceases to exist)