fix NFilter with no sort expression