Getting the Wall Function parameter value doesn’t produce a string like you are comparing your values to with. I’m not sure how/if what was posted above was working for the users. See this thread here on the Wall Function parameter values:
Alternatively, you can collect all walls with the Function “Interior” using the Collector.OfInteriorWalls node from the Rhythm package, as shown in the image below