Loop over the module, not the symbol table. This makes the code handle