Volumetric godrays and many transparent layers

I am not sure yet if this is a bug or what is going on… I have a window mesh that has multiple layers of transparent geometry. Whenever godrays hit 1 layer, they work fine - passing the transparenct. But when there are 2 layers, the window starts blocking the rays.

Any ideas what could be tried here?

Could I use layer mask somehow to stop windows affect rays at all?

Using mesh .alphaIndex property was a friend here! I managed to solve the issue using it but still I think this might be a bug as well…