fixes bug 948704 - date changing links should keep query string intact, r=adrian