Fix some bugs with empty indents