Handle empty records cases

In cases where either a batch is empty (ie sparse tables given our current batch fetch algorithm) or where no records are deleted for some other reason, avoid telling the database to select or delete.  Addresses issue #9