Issue #378 XSS in members search

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