Applied GROUP BY galItem.id to prevent duplication during LEFT JOIN modx_gallery_tags
Merge remote-tracking branch 'splittingred/pr/252' into pr-252