Fix the DB reference in cascade delete
Merge pull request #1 from deathbearbrown/fix-cascade-delete

Fix the DB reference in cascade delete