But honestly it seems extremely weird that Safari would interpret something with spaces as a URL instead of a search
There surely must be some edge case/condition to discover (which is what you were trying to suggest)?