maint: Correct function filter.apply (ncl) for conditions

* dietncl/filter/norm1.lua: Likewise.
* tests/test-filter-norm1.lua: New tests added.