Migration fails with TypeError: '<' not supported between instances of 'str' and 'int' when processing Custom Fields that have length stored as a string.