diff --git a/src/lib/WPXContentListener.cpp b/src/lib/WPXContentListener.cpp
index 09fc98f..bf60fdc 100644
--- a/src/lib/WPXContentListener.cpp
+++ b/src/lib/WPXContentListener.cpp
@@ -602,7 +602,9 @@ void WPXContentListener::_appendParagraphProperties(WPXPropertyList &propList, c
 	if (!m_ps->m_inSubDocument && m_ps->m_firstParagraphInPageSpan)
 	{
 		std::list<WPXPageSpan>::iterator currentPageSpanIter = m_pageList.begin();
-		for ( unsigned i = 0; i < (m_ps->m_currentPage - 1); i+=(*currentPageSpanIter).getPageSpan())
+		if (m_ps->m_currentPage == 0) 
+		  WPD_DEBUG_MSG(("WPXContentListener::_appendParagraphProperties: called with m_ps->m_currentPage = 0\n"));
+		for ( unsigned i = 0; (i+1) < m_ps->m_currentPage; i+=(*currentPageSpanIter).getPageSpan())
 			currentPageSpanIter++;
 
 		WPXPageSpan currentPage = (*currentPageSpanIter);
