Fixed major MySQL last ID threadsafe issue.