getting contains to include all subnets and items below level