yep, that should be fine so I have no idea why it would return the wrong site. each request it looks up the site id based on the host name, if it is not found then it returns the first siteid which is the default site so any unmapped host names should resolve to the default site but any that are mapped should return the correct site id.