Bugfixes for bundle handling in stack cache analysis