Properly detect missing last activities