Search fixes

- send back group info as received from server, rather than just the name
- send search info whenever selected groups change

Signed-off-by: Ari Rahikkala <ari.rahikkala@gmail.com>