Fix get_latest to do some more stuff