I would try to isolate the wires as much as possible away from the motor wires, especially not running parallel to them. They could be picking up EMF from all three phases at once. Or maybe it is getting "confused" between each phase firing and the PWM pulses that make up each pulse...