Fixes the admin uri bug if the administration uri was changed