It is not advisable to proceed with the purchase of this proper without cancelling the previous registered sale agreement.
You have to insist and compel the seller to get the previous registered sale agreement by executing a registered cancellation deed jointly along with the previous buyer.
The unregistered sale agreement cannot be enforced in law though it can be used for the purpose of evidence for the sale agreement or receipt of money hence you may become eligible for getting return of the advance amount.
You have two options:
1. Issue a legal notice to the seller one week prior to the last date of the sale agreement demanding the seller to executed the registered sale deed in your favor while expressing your ready and willingness to perform your part of the contract by paying the balance of sale consideration amount and to get the sale deed registered at your cost;
If the seller is not responding or not complying with demands made, you may file a suit for specific performance of contract seeking execution of sale deed with an alternate prayer for refund of advance amount with interest.
2. The second option is to wait for him to respond till the expiry of the sale agreement period, communicate the decision to cancel the sale agreement and then demand him to return the advance amount with interest till the date of settlement.
Failing to comply with this demand you may file a summary suit for recovery of money and seek for attachment before judgment of the property as security towards the advance amount.