fix duplicate history while url has query.
fix duplicate history while url has query.

EverFi/chaplin,cvd/chaplin,cvd/chaplin,Everlane/chaplin,mrb/chaplin,mrb/chaplin,EverFi/chaplin,Everlane/chaplin,akre54/chaplin