Fix limit in device history