correction in medAbstractWorkspace::updateForLayerSelection