Isn't the timestamp comparison sufficient?