Bug fixing for lower case sequences.