Use delete_returning_gids in series deletion code, since that's how inserts to series_deletion happen.
Merge branch 'master' into beta