Fix handling of bundles in stack cache analysis.