Revert "Avoid division by zero when pagination"