Fix crash with empty interaction groups