Ducky could have recognized Gibbs, but decided to stay silent, if Gibbs didn't seem to recognize him
(As he may have put everything related to Shannon into the back of his mind, never to bring up again...
)
I don't mind them contradicting themselves every now and then... It's been on air since forever, and they're still more consistent with their stories than many of the other shows