MessageManager isRead paramater pgsql exception

This is fixing an non-boolean exception with psql