Minor fix for search api

Search function was broken due to missing parameter in Sprintf.