Handle empty arglists in Filters

The various filters either asserted or incorrectly
assumed that an empty arglist matched the filter.
Add testcases to avoid regressions.

Change-Id: If90fbad3d54749ecc645071675402ea2613870a2
Merge "Handle empty arglists in Filters"