Add -a flag to grep to prevent failures on unexpected characters