Lookup ancestors' sms_gateway before returning the default