Hi @Aaron_Dempwolff
It's possible that the issue is related to the replication process. In some environments, the replication process may take longer to complete, which could cause the lastReplicated value to be null.
You could try checking if the page is activated before getting the lastReplicated...