Fix in api v1 search controller