Fix AI not recording limit, and order search to avoid limit hitting making blunders