Made event editing slightly more strict, and less broken.