Fix table map race condition.