Minor code simplification for Periodic Table