Prevents to add duplicate items to list

This patch prevents this problem:
https://bugzilla.xamarin.com/show_bug.cgi?id=24703