Fixes 500 error when user types in wrong group name.
Created by: ghost
This returns a 404 when the group is not found rather than a 500 error.
The current behavior returns 500 when the group is not found and 404 when the user is not authorized to view the group.
This returns 404 when the group is not found or the user is not authorized to view the group.