if IS NULL is exptected, I'd leave out the ? for parameters and basically just write ... IS NULL. I think theres some breakage with the dbal.