Log motor switch history fixed.