Fix inifinite redirection when trying to remove something without perms.