Fixes error handling for yandex and changes search to be more efficient