Added conditional to prevent redundant enumeration of previously removed integers.