Made grammar correction case-insensitive