I suspect that this is the schedule 3 question that is triggered by answering a warning question. If you followed that warning and answered "no" to the question about selling a home, it takes it as "yes" and triggers the capital gains issue. Go back to schedule 3 and delete any response and then you can refile.