Fix bug in CollectionMethods where PreferredMethods was ignored

@jonas054 @bbatsov