No longer relying on revertContext, because this was having trouble having the previousContext getting changed underneath it.