BUG: Index.min and max doesnt handle nan and NaT properly