Fixes swapping descrepency when githubs ajax calls changed page content after my swaps were already executed.