Fixes test failure in Breadcrumbs view helper

- Originally included in merge for #5108