removed first condition to check also sublayers in case of CompositeElementSymbol and IOSymbol.

2 jobs for bugfix_layer_checker in 3 minutes and 19 seconds (queued for 12 seconds)