Can't compare int objects with datetime objects
Speed things up