Fixes R&D machinery materials adding exploit

Fixes https://github.com/tgstation/-tg-station/issues/3259