Fix coupon date searches and default sorting