Fix error removing records

Trying to remove a record from a table named 'group' resulted
in a 500 error.