BOM confusion

I have a bill of materials as per the attached image.

I have highlighted the issue. I have two window frames Item 20. Item 20.1 shows RSA60x60x6 but the quantity is 4 when it should be 8 if there are two window frames.

Why is it not picking up that there should be 8 pieces of angle?

SolidworksBill Of Materials