The partitioning parameter of SP AdHoc was dropped once the transaction is created, so there was no way of knowing what the partitioning parameter was when it gets to the site. I added it here so that the site can check.