Fixed incorrect inheritance of search model