logical bugfix: find best split before filter