Fixed bug on negative cluster id