imporvments with petro
checks for single selections
check if element is already in selected elements