Remove fix_group function

I thought I'd need to use this as a function but I kept using it in the wrong
context (before inserting the entry into the database). It's not that
complicated of an operation, so we just do it.