filter_addresses: request list of types on demand, to avoid the additional DB request