Small bug: if you build 5 trade caravans, the unit becomes unavailable for further build until you use up one (working as intended), but the early merchant that was obsoleted by trade caravans becomes then "unobsolete" and you can then build 5 early merchants in addition to the 5 trade caravans. Probably the same with food merchants.