Are you sure it was worms? The other day I thought I had a small white worm in mine and it turned out to be a sprouted oat. If there are maggots in there it's most likely from fruit flies or what they call vinegar gnats and it's all added protein. There are folks out there rotting meat over their chicken runs in order to provide them maggots from soldier flies and you have done it without all that trouble and possible disease transmission. Fruit flies come to the smell of the acetic acid in your FF and have not been feeding on anything that would be harmful to your chickens, so it's all good. Feed out the baby flies, they'll love it and it's good, natural protein.