Disallow empty delete criteria on the connection

See #722 

Ping @JeroenDeDauw @asm89