[BZ-1082990] avoid NPE when trying to modify an expired event