Corrected collection of topics and items from the sqlite database.