Fixed a bug with loading after changing the item and template dictionary types