Fixed problem with duplicate entries for same timestamp.