Fixed detecting part headers with multiple newlines above them.