This may or may not be a bug, I am all for it being something I am doing wrong. I have a script that generates a PERT chart from a schedule in the dot (graphviz) language. One of the items I add to each node record is the task status. Every time I first run the script, those fields are filled witheven though I am casting to a string. If I run the script a second time, I get the correct status string.