Seem like someone also found the same bug: https://forums.ageofempires.com/t/tithe-barns-bug-doesnt-work/225416/3