Fix duplicate images.
Latest image query rewrite
- only images attached to text in (sub)category are relevant