Fix bug in workmode user selection