fixes to initial implementation of last import correctly responding to a sync