For WMS services, do not include root/non-child layer name in GetMap request even when root/non-child layer is turned on in TOC.Otherwise, The leaf child layers would show up when roo/non-child layer is turn on on TOC, even if the leaf child layer is not checked.