To get rid of the error, you have to file two K-1 for the same partnership. The second K-1 is necessary to separate the Foreign Gross incomes, Passive and General. So, file the first K-1 with all of the other entries on line 16 and only one of Foreign Gross entries. File the next K-1 with only line 16 and only the other Foreign Gross entry. This worked for me.
This is a bogus fix. It may increase you taxes. TT needs to fix this. CPA's file paper forms in this fashion. We should not have to file paper forms. TT needs to make its software works for customers with foreign tax issues. Otherwise it needs to admit it cannot handle business level taxes.