Fix NullPointerExceptions in TableFacade.