JRuby

Modifying collection in .each function should behave differently between 1.8.7 and 1.9.2