Fixed defect where ties were not handled correctly by medcouple