Checks for the same element when selecting