Matt,
The only other option I can think of is to change the value of True to 1 for QXDIsIncludedOnInvoice.
If that doesn't work then if you don't mind I can go into your database and directly run the query and I can figure out
exactly what is the problem as currently the error message I'm getting is a little vague.
Pete