CONTRIB-4788 :: removed the GROUP BY instruction which caused an error in Postgres and was un-needed.

Signed-off-by: Joseph Rézeau <moodle@rezeau.org>