Original sentence: The Source's trick was that while Prue and Piper, defending an innocent, were attacked by Shax just like previously, Phoebe, Cole and Leo were stuck in the underworld.When Leo and Phoebe eventually escaped from the underworld, they arrived in time for  Leo to heal Piper
Edited sentence: The Source's trick was while Prue and Piper, defending an innocent, were attacked by Shax just like previously, Phoebe, Cole and Leo were stuck in the underworld.When Leo and Phoebe eventually escaped from the underworld, they arrived in time for  Leo to heal Piper, her being his newly wed wife and all