If you removed the mother queen into the split then yes, it will serve to break the swarm tendency as in the old lady as left the hive, hence the hive swarmed.
The piping should have been from a newly hatched queen on one in the process of hatching. One time, years ago, I had a piping queen hatch out onto my hand, neat experience.