This will fail if filter.where isn't given.