Fixed searching hits endpoint