Validate course max assignment type weights

Note: I got an error about `MembershipCalculation#is_team_member?` complaining about `team_id` not existing. Not sure if that's a known issue.