Within the :filter[...] filter run, the current tiddler is set to each title from the preceding [tag[A]] filter run.
Thus, using {!!N} is no longer referring to a field in the tiddler that contains the entire filter syntax.
As a workaround, you can use a variable to fetch the field value before invoking the filter and then reference that variable within the filter syntax, like this: