Fixed a bug with fetching latest events