Forum unread bugfix: loop overwrote "modified"

Spelling fix and tiny continuation of today's refactor thrown in.
Merge pull request #50 from eve-val/unread-bugfix

Forum unread bugfix: loop overwrote "modified"