Fix previous commit on highlighted picture count

Previous query was counting some picture twice or 3 times. Now only counting it once.