Ensure trends are only computed up to the run date