[SB-151][fix] refactor ToParentBlockJoinCollector#getTopGroups and test