Positioning for groups

Hi,

I have problem with proconcrete group positioning. I have two identical foundations one of them rotated 90 degrees and positioning gives another group number. Why group positioning gives another number? 

Workflow: