Fixed "Illegal string offset" while regen db-stats-cache (fixed #48)