Fixed grep syntax on OS X in the Analysis Plugin