А я на скорую руку написал такой костыль, может кому пригодится в качестве "таблетки" :
if($arParams['SECTION_CODE']!=$arResult['SECTION']['CODE']):
header("HTTP/1.1 301 Moved Permanently");
header("Location: ;
exit();
endif;
if(end($arResult['SECTION']['PATH'])['ID']!=$arResult['IBLOCK_SECTION_ID']):
header("HTTP/1.1 301 Moved Permanently");
header("Location: ;
exit();
endif;
if($arParams['SECTION_CODE']!=$arResult['SECTION']['CODE']):
header("HTTP/1.1 301 Moved Permanently");
header("Location: ;
exit();
endif;
if(end($arResult['SECTION']['PATH'])['ID']!=$arResult['IBLOCK_SECTION_ID']):
header("HTTP/1.1 301 Moved Permanently");
header("Location: ;
exit();
endif;