There's a picture of a fungus gnat larva on this page (scroll down), they are "worm-like" with shiny black heads. If they're in the potting mix they'll be attacted to a potato slice if you lay one on the surface, then you'll see what they look like.
http://extension.colostate.edu...
It may be that you are watering the plants a little too much.