Bug with datetime max commented