[BUGFIX beta] Fix active link to nested parent with query params

failing test of link-to helper with query-params;
make tests pass by checking for non-empty query params and isActive
Merge pull request #5109 from tpitale/link-to-nested-parent-query-params

[FEATURE query-params] Fix active link to nested parent with query params