Fixed bug on Linux when merging clusters.