Fix Ruby::Hash has_any() bug