Fixes dictionary lookup bug. Closes #211
Merge pull request #212 from beittenc/fix_subnet_order_test

Fixes dictionary lookup bug. Closes #211