Fix removing groups with empty digits