Raytracing AO doesn't work with with masked materials?

Hi everyone,

so I was making a shader for transparent objects (Default lit with “Masked” blend mode) and when I turned on ray tracing ambient occlusion I noticed that the AO doesn’t seem to react with the opacity mask.

Is there any way to make this work? Thanks!