some postprocessing filter cleanup.
flat/deep search strategy idea added.