Allow query list filtering by query name

Should we avoid taking name on executing prepare query and allow for taking name on prepare.