Fix SQL

SQL Server doesn't like WHEN NOT MATCHED BY SOURCE DELETE clause. Need
to find a way around this.