Fixes #2103 Mark forum read doesn't work with PostgreSQL