Fixing search spec

Broken because of 54d7b011d9485dad33504135dfe8153c86cae9a0