Fixes #34

A previous patch updated segment_id to correctly be treated as a list,
but inadvertently filtered on tenant_id instead of segment_id in the
subnets table.