Fix bug in locality disruption.