Core: LayerSet setId must be protected against setting Null value