Fix malformed SQL when deleting shavars by list and chunk number

Fixes #11