Sorry I'm a bit late in posting this, but.. Was your contract subject to finance?
I'm not sure of the exact wording in the NSW contract's terms & conditions.. but doesn't it state in the finance clause that finance should be satisfactory to the buyer?? So when the lender forces you to front...