Fix a bunch of !learn bugs