Small optimizations, remove same items in list