Invert hash filtering syntax to work around 1.8.x vs 1.9.x change.

In 1.8.x, Hash#select returns an array of [key, value] instead of a hash {:key => value} like 1.9.x.  Luckily the reject returns remained the same.