What could this be?

  • We are currently upgrading MFK. thanks! -neo
Can't have been planaria based on description. Common nematode. Nothing to worry about.
 
You got detritus worm's. Not harmful, but a sign of overfeeding. They look nasty and anoying though... swimming through the water like a sperm tail. Small fish love to eat them!
 
MonsterFishKeepers.com