Handle the case only one geometry is selected correctly.