utils/archive: Fix returned date when requesting origin visit info
Previously, functions from the archive module to query origin visit info were returning the latest visit status date instead of the visit date.
This could lead to wrong returned visit when searching a visit by date through links offered by the webapp as the wrong visit date was used.