Corrected bug with lowercase sequences.