improve flattened bundles to provide hints about what wasn't flattened,  refs #17155

(cherry picked from commit 66370c2b17122d60b990956aa4142c51524218b3)