fix activation history update bug

I think it has to do with what new_activation is returned from
smem_lti_activate, but I'm not actually sure why it would cause sqlite
to do weird things.
update LTI activation before spontaneous retrieval