Use Hash[] to rebuild hashes after select/reject (for ruby 1.8.7)