Minor bugfix.
Add the ability for oasisdb to recalculate historical stats in the database.