Wrong fingers rotation in Rigify

Hi!

I’m writing because I found a bug in the pipeline. When generating the skeleton in CC/iC, the fingers generate with incorrect rotation. When scaling the main controller responsible for bending the fingers, instead of moving straight, it shifts sideways. The controllers themselves are also rotated by 90 degrees, but simply rotating them doesn’t help because the drivers in the mech bone just snap to different axes. The issue doesn’t occur when generating the metarig.