Updated InstanceByTag to enable filter by key_name