Prevent users from selecting the same path, fixed bug for selecting recently deslected paths