remove entry with CRLF if following - NPE fix, handle previous sibling