Fixed small bug in dendogram updating.