fixed a bug in toc which repeats entries in toc when a group repeats its header on each page

git-svn-id: http://svn.code.sf.net/p/dynamicreports/code/trunk@770 bf0c503b-2351-4f66-9eae-aa52f3279a3f