Made robust to fluctuating case of logic names