I lied in my last commit it was the recursive flag

The recursive flag -r for grep was causing the issue. :'(