delete_if returns a hash, select a list of [key, val] pairs (this is fixed in 1.9)