Fix for snippet search spec