Remove duplicate setting of `max_entries`