Keep children when removing prohibited element