Fixes pagination of filters.