HCSVLAB-352: fixed issue when removing an IL when no one is selected.