The desync is probably related to a Factorio bug fixed in the next version of Factorio. Let me know if they persist at that time.
The script error (not a desync) should be fixed in the next version of picker. I added some additional sanity check around the stuff using cursor_stacks
Thank you both for the reports.