Fix issue with cannot insert