fix bug #1002371 - don't lose the query parameters when switching languages.