Fix reverse key and value issue with #7 on collections.rb