Merge pull request #2028 from tocaibiza/develop

Bug fix - optimize_table() in DB utility class