Grammar checkers on computers are by no means foolproof. They sometimes attempt to correct things that are perfectly correct, and often miss glaring errors. Unlike you, the writer, they are totally unconcerned with the meaning of your sentence and are simply following a predefined set of rules. While there is no doubt that they are useful, relying on them is highly dangerous.