Remove unused conditions