Bugfix to the clustercheck script