Fixing bug in Search

Adding the missing object creation of ResponseWrapper