Fixed potential NPE in Table serialization.