fix(data-dashboard): fix date range lookup of affinities