Fixed id management & deletion of bought sales