fix displaying multiple groups in search view

small addition d76b26819df57d0186934a01523dcb53d95f6ca4

all tested just now