Fix problem when more than one dictionary is loaded.