Fix for when a line is all empty in one of two documents