For nontraditional families, the tax code can be especially confusing.