Fix deactivate links option case and selection