the action is not to pick hits where the condition matches, but the entire visit (container level)
Since the container is visit, the action taken is to include the visits (and the the entire hits within) when a single hit matches the condition.
Here the condition is 'page does not equal home'. So if a visit contains even a single page that is not home, it will include the visit (all the hits) to which the hit matching the condition belongs (including the pages which have home).
Now once the data set is present, you are simply calculating the page views.