bugfix: only grep 'name' column for networks

also, delete networks FIRST (which will delete resident subnets) and
then see if any other subnets match (to be thorough i guess?).