RouterBase#match respects queries