COOK-4117: use the correct scope when searching the children class name

https://tickets.opscode.com/browse/COOK-3071