That's actually a good question, I was wondering this myself a little while ago. I assume that the enhancement activates, then sets itself aside, where it is no longer a target for discard. Hence, it stays set-aside until the character is brought back, at which point it is discarded as usual.