Making Duration comparable

Solves #754