Allow warnings to be turned off for photons that have more than a certain number of interactions.