Thanks to all who replied.
Update -- changing to the values only setting worked. Sadly, that didn't occur to me since the stmt had worked for ages.
I agree that it would be worth changing them up to take advantage of some of the new features and we will when more convenient for the client.
