CONTRIB-4864 Correct grade calculation when timeframe used in export.