Fixed NPE that would cause rendering issues on library tables