NXP-14794: use last version reference for checked in documents when doing a snapshot