Fix for dumb race condition.