fix logic for latest since