Bug: The material number was padded with leading spaces.
Fix: Trim the value of leading spaces.
.