Pending appointments changing to completed

Since the latest update my pending appointments that have not been paid and confirmed are moved to completed instead of removed. This will affect my bookkeeping. Please fix this asap.

Thanks.