Breadcrumb link wrong for the last item

If you view an article to which there is no direct menu, and make all breadcrumb items as links, the last item will link to the homepage, instead of the current article