Fix the import of DailyHitTotal

* Split upsert into two queries
* Be specific about the behaviour the specs are testing