Add limit to global history