title: Find and delete duplicate edges in OrientDb
body: <p>Consider we have Vertex User and Edge FriendsWith. 
  FriendsWith can be in both directions out and in (usually it is either out or in between 2 users).</p>
  
  <p>Duplicates are when either out or in from one user to another is found more then one time (out and in together is not considered as duplicate)</p>
  
  <p>Is there any way to find duplicate edges and delete them?</p>
  
  <p><strong>UPDATE</strong> Added picture illustrating problem</p>
  
  <p><a href="https://i.stack.imgur.com/KxwQK.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/KxwQK.png" alt="enter image description here"></a></p>
  
  <p>Thank you.</p>