Fix capital letter skipping bug.