     if nextProps.loadingSelectedWorkflow is false and nextProps.user isnt null
       @shouldWorkflowAssignmentPrompt(nextProps)
 
-    if nextProps.location.query?.group isnt @props.location.query?.group
+    if nextProps.location.query?.group isnt @props.location.query?.group or nextProps.user isnt @props.user
       @validateUserGroup(nextProps)
+
+    if nextProps.user is null and nextContext.initialLoadComplete
+      @clearUserGroupForClassification(nextProps, nextContext)
 
   shouldWorkflowAssignmentPrompt: (nextProps) ->
     # Only for Gravity Spy which is assigning workflows to logged in users

      apiClient.type('user_groups').get(props.location.query.group).then (group) =>
        @setState({ validUserGroup: group and group.links.users.includes(props.user.id) })

# For debugging:
window.currentWorkflowForProject = currentWorkflowForProject
window.currentClassifications = currentClassifications



  contextTypes:
    geordi: React.PropTypes.object,
    initialLoadComplete: React.PropTypes.bool,
    router: React.PropTypes.object

  propTypes:
    loadingSelectedWorkflow: React.PropTypes.bool
