How Suntanning Both Increases And Reduces Your Chance Of Dying From Melanoma -- A Mystery Solved

All else equal, people who spend more time in the sun, or in tanning booths, are more likely to die of melanoma, but among people diagnosed with melanoma, those with a history of lots of sun exposure and fair complexion are less likely to die. How can that be?