modifications to get_last_versions_list