We do not really assist in code modification. I can tell you how something is suppose to work but if you want to modify your code your on your own in regards to that.
The query is very specific for recent comments as stated. It is going to pull any recent comments from photos where there is MORE THAN ONE COMMENT. Your then going to of course apply the other permissions etc
Content visible to verified customers only.
WHERE p.numcom > 1
You can try removing this from the query but we offer no support or continued discussion on this since it is not a product support issue.