Prevent EventStore storing duplicates