Added code to remove deleted Sales Orders, Bills and Invoices.