Add explicit imgid to query to be more resilient to changes.