Fixed broken search callback.