Not a Sonarr issue that your indexers return garbage results.
It has no results for ID search, so it falls back to text search and you get what you get.
Figure out which indexer is returning the bad results and drop it. my guess would be obnzb
2022-07-21 08:15:40.9|Info|ReleaseSearchService|Searching indexers for [The Old Man : S01E07]. 5 active indexers
2022-07-21 08:15:40.9|Debug|Newznab|Downloading Feed https://api.nzbgeek.info/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&tvdbid=367392&season=1&ep=7
2022-07-21 08:15:40.9|Debug|Newznab|Downloading Feed https://api.nzbplanet.net/api?t=tvsearch&cat=5030,5040&extended=1&apikey=&apikey=(removed)&offset=0&limit=100&tvdbid=367392&tvmazeid=43155&season=1&ep=7
2022-07-21 08:15:40.9|Debug|Rarbg|Downloading Feed https://torrentapi.org/pubapi_v2.php?mode=search&search_tvdb=367392&search_string=S01E07&ranked=0&category=18%3B41%3B49&limit=100&token=(removed)&format=json_extended&app_id=Sonarr
2022-07-21 08:15:40.9|Debug|Newznab|Downloading Feed https://api.oznzb.com/api?t=tvsearch&cat=5030,5040&extended=1&apikey=(removed)&offset=0&limit=100&q=Old%20Man&season=1&ep=7
2022-07-21 08:15:40.9|Debug|Newznab|Downloading Feed https://nzbfinder.ws/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&tvdbid=367392&imdbid=tt5645432&tvmazeid=43155&season=1&ep=7
2022-07-21 08:15:41.4|Debug|Newznab|Downloading Feed https://api.nzbplanet.net/api?t=tvsearch&cat=5030,5040&extended=1&apikey=&apikey=(removed)&offset=0&limit=100&q=Old%20Man&season=1&ep=7
2022-07-21 08:15:41.8|Debug|Newznab|Downloading Feed https://nzbfinder.ws/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Old%20Man&season=1&ep=7
2022-07-21 08:15:42.1|Debug|Newznab|Downloading Feed https://api.nzbgeek.info/api?t=tvsearch&cat=5000&extended=1&apikey=(removed)&offset=0&limit=100&q=Old%20Man&season=1&ep=7