Bug/cannot delete vuln refs zero length delimiter

fixing the problem where we cannot delete vulns

- [ ] check out rev 8438319
- [ ] run rake spec, you should see the following error 
```sql
DELETE FROM "vulns_refs" WHERE "vulns_refs"."" = $1 error
- [ ] update to the head of the branch
- [ ] all specs should pass