Improved the invenio-doctor to save the last_recid after each cycle