Bernie Sanders got an economics lesson a few years ago when he sent out a misguided tweet about student loans.