Replaced check of parameter "search"