parse layer children when listing layers to query

for layers groups, we need to parse the children when generating the list of queriable layers, otherwise the layer is not found in the list and, obviously, their min/maxresolution are not available to determine if they are queriable at the current resolution.