bug fix Period::compareDuration