Question: what happens when my landlord sells the house?
Answer: If you end up selling the property to a buyer who isn't a landlord then the tenants must leave by the date agreed. If they refuse to do so, you will have to commence proceedings and apply to the court. This is long and costly and is something to be avoided, if at all possible.