Fix bug in mesecon.mergetable that caused false rules