Revert "now only flattened ignores failonundefined cause of it's special need"

This reverts commit db145a368d94e3665fd4abec18e2db72cf6fc594.
Revert "fixes issues with listyfing failing too often"

This reverts commit e3feb104c305b1b7e6e97d6be2eb4d83a43515cd.
Revert "minor fixes to template function"

This reverts commit 7d2937b1ccde7b49e725d774fba74f1eddfacab4.