Fix order in which to expect commits to be visited