Fixing discussion sorting on index page