REVIEW-3412: Handle duplicate dependency elements.