Fix Batch#add with synchronous prepared statements

The previous commit fixed a bug, but introduced another: if the statement was a synchronous one it failed...