Fix a test that randomly failed by asking for negative IDs.