Limit amount of history to be scanned