Bug fix: undefined JIDs.