Fix bug in console where query params were dropped