[ticket/12426] Rework of user search

Some last minute changes

PHPBB3-12426