Without testing I am not sure if increasing the priority strength of the Building Material for the short walls so it is greater than the BMs in the main wall would work in this case.
But I think placing them in a separate layer with a different intersection priority number to the layer the main walls are in should work.
Barry.
One of the forum moderators.
Versions 6.5 to 27
i7-10700 @ 2.9Ghz, 32GB ram, GeForce RTX 2060 (6GB), Windows 10
Lenovo Thinkpad - i7-1270P 2.20 GHz, 32GB RAM, Nvidia T550, Windows 11