Using links as well as uid to determine if an item exists in database. Much more reliable.