According to this search, lastRetrievalAt is never set, except in tests.
The probable cause is the following from #519, where setLastRetrievalTime is replaced by setCreatedAt (instead of the expected setLastRetrievalAt):

However, it looks like this change was/is never saved to the repository: newEvent.getRelatedTo().getLastRetrievalTime() returns null