Updated selection of last imported reference. This fixes a bug where imports would occasionall fail because it wasn't selected.