Fix reports crashing based on date compare type

These worked locally yesterday, but today they did not...

Anyway, it was attempting to compare a datetime object to a string, which doesn't work.