Fix XSS on members search page

Fixes #378 - User supplied search query was not sanitized before being printed.