Fix issue with default scopes preventing deletion from working because of SQL errors (not found columns).