Couple of fixes for recent commit to Recent Activity & public questionnaires display.

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