Fix '/versioncheck' bug after query/params change

Due to 899c3c63d469dec9e8364a4f91b58a3cd157845a