Display correct class name in a situation where childrens rate exceeds parents