Master Detail Hierarchy Filtering

I used the following example,

I have a count column on the master record that works fine, except it won't filter using the statement in this image until I expand the row...