Fix grep -v bug on output.