Reduce the number of element related queries to 1 each (non-catalog
records/tables), which improves the performance of the import from
dictionary tools dramatically.