Fixing filtering bug for all, including tile datasets, fixes #22.