Allow query list filtering by query name

@nitin163  Planning to do that as part of another ticket.