Minor fix for 64bit datetime support