check for empty paragraphs now returns the correct values

Previously the function isOnlyWhitespaceParagraphs would return true when the paragraphs contained NOT only whitespace, but content.  This is has now been adjusted to only return true, when indeed the paragraph only contains whitespace.