Avoiding non-repeating numbers from being shown