Child of #201. A date2:DATE query should match against secondary dates (or the primary date when there's no secondary date), on command line and in hledger-web.
Perhaps this is failing only with the register command. register date2:DATE seems to be matching all dates.
cli: parse date2: correctly (#222)
register: support date:/date2:/--date2 better (fix #201, #221, #222)