bug fix for previous commit - search would fail if term contained single quote