Fungus gnat larvae sounds likely considering I don't know how nematodes could even get into my terrarium.