Fixed a line splitting bug.
Passing unit tests for remove_tag.