Remove new lines from entry names before adding them to the index