Fix display of server group members

The previous code was failing to display the members of server
groups because it was filtering them all out.

Interestingly, the previous code passes the unit tests due to a
bug where we treat regex comparisons differently when using mysql
vs sqlite (tracked under bug 1298690).

Change-Id: I7be9c180f4284dd18cd02e510e77e3c1e3fc9925
Closes-bug: 1298494
(cherry picked from commit 8ce30b6ac7ea8d2e036a621a9904b35cb1563672)
Merge "Fix display of server group members" into stable/icehouse