Fixes graph delete on module delete