Fixed group assignment bugs

Bugs primarily introduced by
https://github.com/tnc-ba/strongTNC/commit/a02825e9ac318af4d1cc4b5a0c044b52746c48cd
Fixed file hashes bug

File hashes field has changed to filehash_set in the model
refactoring/merging