Fix wrong search id reporting.