Fix main branch CI
Patches have been merged without rebasing which caused the main branch to fail. Repo settings have been updated by aqu to hopefully prevent this in the future, and two fixes are provided here to get it back to working:
- Rebuild the fixtures, adding a fixture for hourly mediacounts
- Change when glent casts the delete_after to int, limiting it to situtations when we know we have a castable value.