B-cell selection and the development of autoantibodies