"#registered_generators" was attempting to count a non-array table and was always returning 0. So every node function registered was named "mod_1" and overwrote each other in that index.
also, "nodes" wasn't counting node_functions, it was counting lvm_functions.