Fix PierId on Schedule edit