Fixed cascading delete on model