FoldByParameter Bug Fix (wrong testing if value was of type NSSTring resulted in an exception and the termination of the function)

Signed-off-by: Maximilian Marcoll <quince@maximilianmarcoll.de>