fix edit bug

fields did not populate if no groups were found