Shouldn't this be using

stubTable.find(&id);

?

I think there can only be a single entry - is that a change?