Update cobra-mptt.php

allow factory with id as numeric string