Fixed bug157: ties not prevented by -iu/-id