Fix bad link disabling rules