BUG: Explicitly guard against empty bar data in history container contstruction.