multiple retirement plans

I was a full-time employee for the first half of 2019 and contributed $16,466.67 to my employer's 401(k) plan.  For the second half of 2019, I was an independent consultant and contributed to a separate owner-only 401(k) account through my new sole proprietor LLC.  TT calculates my maximum allowed contribution to my owner-only 401(k) as $40,361, but does not seem to account for the $16K I already contributed to a regular 401(k).  How can I make sure I don't overpay into my retirement savings?