Determining principal residence for home-sale tax exemption

Owner of multiple homes runs into trouble with IRS