Hi Martin,
You don't need to confuse yourself. While any of the properties you own / are being paid off and are available for rent by a tenant, the costs are tax deductible.
When any of them are being used for private purposes (i.e. you live there) the tax ded. stops for that period and re-commences when available for rent again.