Fixed a bug on grepr that included an empty space in the search