Well, that presumes a perfect seal on the filter, because otherwise the bacteria can just take the long way around the filter and into your filtered water.
That's not a show-stopper, though, is it? I mean, you could get near-perfect just by making the filter the right shape and having several layers of filtering, thus reducing the chance of a bacteria getting through down to some infinitesimal probability...