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.
Merge pull request #39 from Cerberus98/master

Fixes #34