Avoid IndexError on too-short OIDs, add test for regression
2 files changed