Issue #2078393 by rob_johnston, mgifford, Dave Reid: Fixed cannot access /admin/content/file due to improper GROUP BY handling when using PosgreSQL.