Remove redundant checks in phenotype score template