Fixing endowment and charity pagination