Pagination mixin does not change result when there is an error