Check if sequence is in group before adding