A computer program product comprising a computer usable medium including computer usable program code for identifying defective product, the method comprising:computer usable program code for identifying, in a data processing system, a product status for products comprising at least one range of serial numbers;computer usable program code for narrowing the at least one range of serial numbers using a range flattening algorithm; andcomputer usable program code for applying a conditional mask algorithm to the at least one range of serial numbers to narrow the at least one range of serial numbers.