Fixes workspace duplication bug on layer name.