Solo 401K and foreign earned income exclusion -- turbotax error?

I asked Turbotax to calculate the maximum amount I can donate to a solo 401K, elective deferral + profit sharing. In calculating profit sharing, it appears not to take into account that I've excluded part of my income with the FEIE. Is this indeed a flaw, or should I trust the number that Turbotax provides?