[BUG #7240] allow empty filter to return all nodes
[BUG #7240] add compat optns.breaks for .toJS() calls