Bug fix in stats manager, jobs saved in DB