Fix a bug with undent.