I think that the basic answer is that while they have altered the timelines the stones were taken from, they have returned the stones to those timelines to be used for good(?). The Ancient One’s worries seemed to be somewhat more focused on loosing a weapon against the forces of evil than altering history, or…