- Fixed retrieving future messages in Postgresql.
- Updated docstring.