Fixed a bug in finding wards and groups.
tweaks to display of wards