fix active link on nav's that use the query prop