Fixed race condition in constraint creation IT