Update query for weekly totals to conform to api changes [fc-platform-frontend]