Feature: allow previous and next to filter by "where" queries
This can be useful for taxonomies.