allow specifying same from/to dates