MessageManager isRead paramater pgsql exception

This is fixing an non-boolean exception with psql
Merge pull request #108 from kaiwa/patch-2

MessageManager isRead paramater pgsql exception