Fix SQL (group by statement) : all keywords are displayed in index page.

* fix to show revision properly