BUG Don't redirect to ErrorPage in CMS with x-cms-edit-link

Fix for https://github.com/silverstripe/sapphire/issues/1935