Fixed ordering of searched logs. Minor progress on automatch.