Fixing route panes for query params

Change-Id: I2d587a03efb9e74268ada49740e495f62e7cc034