It may be something hard-coded into the game engine. Items 0-30 and 735 are the standard stock versions. Items 190-212 and 736-737 are the upgradable versions (used for unique, strange, and community qualities), which should allow you to apply attributes and qualities.
The
Item Definition Indexes wiki page has more info about which weapon has which index.
__________________