Doesn't selling the house give an opportunity to cancel the lease?
No. Deadbeat tenants are toxic when selling a house. They can continue to squat after the lease expires. Depending on where the house is, the eviction process can be long and expensive, often as the deadbeat trashes the property. As a buyer, run very fast the other way.