REF: deduplicate Code

DurationFilterNode is now a child of NumericFilterNode. The can share
the same toSql and match functions once the argument is parsed.