doDfsForRootbeer: Check for [] in class_name