Fix bug in retrieving old bots