Fixing the sequence name generation.