Fix party edit bug.