Bug in Chronological ordering