That's a valid concern, but in this case it won't cause problems -- grep exits with 0 if a line was selected; in the case of `grep -v grep` that means there was a line without "grep", which is what we want.
(Also @thewakalix made a good suggestion to reverse the greps.)
(Also @thewakalix made a good suggestion to reverse the greps.)