fixed the bug by using a const iterator
Merge branch 'bug-18161-QmitkDataStorageFilterProxyModelBug'