Yes, I understand that and it makes sense. I don’t have any variables in the db with names that could be introducing confusion, though, and all the fields involved are line item fields set to the date type. As I said above, after I first wrote suddenly everything started working as expected, so I guess it was just some passing weirdness and we can ignore it.
Thanks,
Bill