not sure why you prefer `select` over `reject`, but in this case it will be faster to do `select { |_, value| value }` to avoid extra `!` method call on each item.