Fixed delete so it deletes a discount is a discounted item is deleted.. Took way too long, but this fixed other bugs too