Fix for "InvalidParameterType: Expected params.PartNumber to be a number"