Fixed type check for ImmutableEventCollection