#418 Corrected logic for inspecting breadcrumbs for expansions.