Resolve broken layers issue when converting from multilayer format to single layer ones