The min function doesn't work properly with strings. Converted widths to numbers should work better here. [MAILPOET-5821]