Bug/cannot delete vuln refs zero length delimiter

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