fixed constraint violation while moving model to the same ancestor
fixed constraint violation while moving model to the same ancestor

ramirezd42/ClosureTable,rafis/ClosureTable,franzose/ClosureTable,EspadaV8/ClosureTable