harden the heart of sessions to ignore bad object ids