fixes #86 - adds validation and quick fix for a repository in non-persistent events