Ah, I suspect you put the `str()` in there because somewhere in the middleware the date formatting is turning it into an int. That's really bad and we should fix that in that case.