Fix parsing error by allowing invalid insertion